  <% if not @user.disciplines.empty? %>
    <h4>Member of these Pronetos disciplines</h4>
    <ul>
      <% @user.disciplines.each do |discipline| %>
        <li><%= link_to discipline.name, discipline_path(discipline) %></li>
      <% end %>
    </ul>
  <% end %>

  <% if not @articles.empty? %>
    <h4>Has recently posted these articles</h4>
    <ul>
      <% @articles.each do |a| %>
        <li><%= link_to a.title, discipline_article_path(a.discipline, a) %></li>
      <% end %>
    </ul>
    <p><%= link_to "See all of #{user_name_or_text( 'your', "'s" )} articles &#187;", articles_profile_url(@user) %></p>
  <% end %>
